package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 职权和角色关联对象 sys_role_power
 * 
 * @author ruoyi
 * @date 2022-02-12
 */
public class SysRolePower extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private String recNo;

    /** 角色编号 */
    @Excel(name = "角色编号")
    private String roleNo;

    /** 职权编号 */
    @Excel(name = "职权编号")
    private String powerNo;

    public void setRecNo(String recNo) 
    {
        this.recNo = recNo;
    }

    public String getRecNo() 
    {
        return recNo;
    }
    public void setRoleNo(String roleNo) 
    {
        this.roleNo = roleNo;
    }

    public String getRoleNo() 
    {
        return roleNo;
    }
    public void setPowerNo(String powerNo) 
    {
        this.powerNo = powerNo;
    }

    public String getPowerNo() 
    {
        return powerNo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recNo", getRecNo())
            .append("roleNo", getRoleNo())
            .append("powerNo", getPowerNo())
            .toString();
    }
}
